package latihan.action;

import java.util.logging.Logger;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;

@Results({@Result(name=Registration.REGISTRATION, location="/WEB-INF/pages/registrationForm.jsp")})

@ParentPackage("default")
@Namespace("/main/registration")
public class Registration extends ActionSupport {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5824995081676893442L;
	public Logger log = Logger.getLogger(LandingPage.class.getName());
	
	public final static String REGISTRATION = "registration";
	
	@Action(value=REGISTRATION)
	public String toRegistration(){
		
		return REGISTRATION;
	}
}
